﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using MAF.Common;
using Domain.Entities;
using Domain;
using Business;
using MAF.CRUD;

namespace Web.Controller
{
    public class ProductHandler : BaseHandler<ProductInfo>
    {
        protected override ICRUD<ProductInfo> GetService()
        {
            string module = HttpContext.Current.Request["Module"];
            return BusinessFactory.CreateProduct(module);
        }
    }
}